package com.panshi.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="AppMatterCheck对象", description="问题审核表")
public class AppMatterCheck implements Serializable {

    @ApiModelProperty(value = "主键id")
    //@TableId(type = IdType.ID_WORKER)
    private Integer matterId;

    @ApiModelProperty(value = "分类id")
    private Integer classifyId;

    @ApiModelProperty(value = "用户id")
    private Integer userId;

    @ApiModelProperty(value = "问题标题")
    private String matterTitle;

    @ApiModelProperty(value = "问题背景")
    private String matterContent;

    @ApiModelProperty(value = "问题状态: 0草稿; 1上架; 2审核中; 3未通过审核")
    private String matterStatus;

    @ApiModelProperty(value = "是否删除 y是; n否")
    private String isRemove;

    @ApiModelProperty(value = "描述(备注)")
    private String matterDescribe;

    // @TableField(fill = FieldFill.INSERT) // 自动填充
    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "上架时间")
    private String groundTime;

    @ApiModelProperty(value = "删除时间")
    private String removeTime;

    @ApiModelProperty(value = "审核时间")
    private String checkTime;

    // @TableField(fill = FieldFill.INSERT_UPDATE)
    @ApiModelProperty(value = "修改时间")
    private String updateTime;

    @ApiModelProperty(value = "阅读量")
    private Long readCount;

    @ApiModelProperty(value = "回答量")
    private Long answerCount;

    @ApiModelProperty(value = "收藏量")
    private Long collecCount;

    @ApiModelProperty(value = "分类名称")
    private String  classifyName;

    @ApiModelProperty(value = "用户名称")
    private String userNickName;

}
